package com.zzx.test.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author ZhouZhiXin
 * @ClassName PersonDO
 * @Description Description Write Here.
 * @Date 2020/6/26
 * @Time 20:31
 */
@Data
public class Person {

    private int id;

    private String name = "zs";

    private int age;

    private static String hobby;

    public void hi() {
//        System.out.println("Hi, My name is " + name);
    }

    public Person(){

    }

    public Person(int id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }
}
